using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class FirstScript : MonoBehaviour
{

    public int speed = 2;
    public int m_name_m;
    public int _name_;
    public int nameAmiao;
    public int GKDName;

    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        Vector3 endPos = transform.position + Vector3.left * speed;
        transform.position = Vector3.Lerp(transform.position, endPos, Time.deltaTime);
    }
}
